home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / 000043_blitz-list-request_Fri Jul 15 02:18:59 1994.msg < prev    next >
Internet Message Format  |  1994-09-20  |  2KB

  1. Received: from cix.compulink.co.uk (tom.compulink.co.uk [192.188.69.2]) by kantti.helsinki.fi (8.6.9/8.6.5) with SMTP id CAA27260 for <blitz-list@helsinki.fi>; Fri, 15 Jul 1994 02:18:42 +0300
  2. Received: from gonzales.compulink.co.uk (gonzales.compulink.co.uk [192.188.69.4]) by cix.compulink.co.uk (8.6.9/8.6.9) id AAA21507 for blitz-list@helsinki.fi; Fri, 15 Jul 1994 00:16:42 +0100
  3. Date: Fri, 15 Jul 94 00:17 BST-1
  4. From: gakennedy@cix.compulink.co.uk (Graham Kennedy)
  5. Subject: RE: Serial Port problems
  6. To: blitz-list@helsinki.fi
  7. Reply-To: gakennedy@cix.compulink.co.uk
  8. Message-Id: <memo.657200@cix.compulink.co.uk>
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset="us-ascii"
  11. Content-Transfer-Encoding: 7bit
  12. X-Status: 
  13. Status: RO
  14.  
  15. Hi Jurgen,
  16.  
  17. >I use this: OpenSerial "ser:",0,9600,0
  18. I think you are confusing what is meant by device$. What it actually means
  19. is the system device which you are opening to talk to the serial port, (erm,
  20. not really making myself clear am I :-(  time for an example)
  21.  
  22. It should be
  23.            ok=OpenSerial("serial.device",0,9600,0)
  24. (warning, the name of the device is case sensitive !)
  25.  
  26. Or possibly
  27.            ok=OpenSerial("BaudBandit.device",0,9600,0)
  28. if you have baudbandit to control your serial comms.
  29.  
  30. Here's a working example
  31.  
  32.                   ok=OpenSerial("serial.device",0,9600,0)
  33.                   If ok
  34.                     NPrint "Yippee It worked"
  35.                   Else
  36.                     NPrint "Oh Bugger, no it didn't"
  37.                   End If
  38.                   ClickMouse
  39.                   CloseSerial 0
  40.  
  41. Hope this make things clearer..
  42.  
  43.  
  44. Graham K.  
  45.